﻿using MediatR;
using T.Materials.Domain.Dto;
using T.Materials.Domain.Model;

namespace T.Materials.Read.API.ApplicationRead.Command.MaterialStatisticsCommand
{
    /// <summary>
    /// 查询物资统计
    /// </summary>
    public class ShowMaterialStatisticsCommand : IRequest<ListMaterialStoreDto<MaterialStoreDto>>
    {
        /// <summary>
        /// 货物名称
        /// </summary>
        public string? NameOfGoods { get; set; }

        /// <summary>
        /// 材质
        /// </summary>
        public string? Material { get; set; }

        /// <summary>
        /// 国家
        /// </summary>
        public int? CountryId { get; set; }

        /// <summary>
        /// 省/州
        /// </summary>
        public int? EconomizeId { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? startDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? endDate { get; set; }

        /// <summary>
        /// 当前页
        /// </summary>
        public int? pageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int? pageSize { get; set; }
    }
}
